package com.gxa.jjty.admin.service;

import com.github.pagehelper.PageInfo;
import com.gxa.jjty.core.exception.BusinessException;
import com.gxa.jjty.core.pojo.AppServe;
import com.gxa.jjty.core.service.BaseService;

import java.util.List;

/**
 * @author asus
 */
public interface AppServeService extends BaseService<AppServe> {
    /**
     * 添加appServer
     * @param appServe appserver对象
     */
     void insertApp(AppServe appServe) throws BusinessException;

    /**
     * 更新appserve
     * @param appServe
     */
    public void updateAppServe(AppServe appServe) throws BusinessException;

    /**
     * 删除服务的记录
     * @param id
     */
    public  void deleteAppServe(Long id) throws BusinessException;


    public PageInfo<AppServe> selectByPage(Integer page, Integer size, String appName, Integer appStatus);
}
